<template>
    <div>
        <h1>markdown 编辑器进阶版</h1>
        <v-md-editor v-model="text" height="400px"></v-md-editor>
        <h1>预览组件</h1>
        <v-md-preview :text="text"></v-md-preview>
    </div>
</template>

<script setup lang="ts">
import { ref } from 'vue'

const text = ref('# 标题')
</script>

<style lang="scss" scoped>
</style>